import "./css/index.scss";
import img from "./images/001.jpg"
let btn = document.createElement("button");
btn.textContent = "点击";
btn.classList.add("btn");
btn.onclick = function(){
  console.log(this);
};
document.body.appendChild(btn);
let ig = document.createElement("img");
ig.src = img;
document.body.appendChild(ig);
